<form method="post" action="index.php?m=Ffront&c=consult&s={$s}" name='consulta' id='consulta''>

{if $question  != ""}
<h2>{$num}# - {$question}?</h2>
{/if}
<table>
	{$html}
</table>
	<br/>
	<div class="sbutton" style="float:right;">
    	<a class="squarebutton" href="index.php?aceita=on&s={$shortname}&m=Ffront&c=consult&externo={$externo}"><span>{$msg_restart_consult}</span></a>
	</div>

	{if $question != ""}
	<div class="sbutton" style="float:left">
    	<a class="squarebutton" onclick="$j('#consulta').submit()" href="javascript:void(0);"><span>{$msg_next}<img height="17" width="17" class="middle" alt="seta" src="public/imagens/estrutura/icoSeta.png"/></span></a>
	</div>
	{/if}

	<input type='hidden' name='externo' value='{$externo}'/>

</form>